package com.hdc.lw.word_server.mapper;

import com.hdc.lw.word_server.po.Word;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WordMapper {
    //插入单词
    public Integer insertWord(Word word);
    public Integer getRowNum();
    public List<Word> getWordList(Integer currentpage,Integer page);
    public Word getWordByName(String name);
    public Integer delWordById(Integer id);
    public Integer updateWordByid(Word word);
}
